# nullable enable

using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using PHMEE.DTOS.Diagnosis;

namespace PHMEE.IServices.Diagnosis;

public interface IAlarmReportAppService
{
    /// <summary>
    /// 获取报警统计数据报表
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task<List<AlarmStatisticsDto>> GetAlarmStatisticsAsync(AlarmStatisticsRequestDto input);

    /// <summary>
    /// 导出报警统计数据报表
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task<(MemoryStream stream, string fileName)> ExportAlarmReportAsync(AlarmStatisticsRequestDto input);
}